package com.bird.extension.pattern.abstractfactory;

import com.bird.extension.pattern.simpleFactory.entity.HpMouse;
import com.bird.extension.pattern.simpleFactory.entity.Mouse;

/**
 * @Author: sijunqiang
 * @Date: 2020/4/4 11:54
 * @Description: define hp computer factory to product hp mouse and keyboard module
 */
public class HpComputerFactory implements ComputerFactory {
    @Override
    public Mouse createMouse() {
        return new HpMouse();
    }

    @Override
    public KeyBoard createKeyBord() {
        return new HpKeyBoard();
    }
}
